<?php get_backend_header(array(
        'jquery/jqgrid/src/grid.loader.js',
    	'jquery/jqgrid/src/i18n/grid.locale-en.js',
	'jquery/jqgrid/js/jquery.jqGrid.min.js',
	'jquery/validate/jquery.validate.js',
	'message.js',
),array(
        'jquery/ui.jqgrid.css',
)); ?>



<div class="line">
	<h2 class="unit title" id="msg">Inbox</h2>
	<div class="unitExt" style="margin-top: 25px;">

            <a href="<?php echo site_url('message/add'); ?>" id="add" name="add">Create Message</a>
  
		
	</div>
</div>

<?php get_message();?>

<?php get_message_dashboard();?>
    <table id="messageGrid" class="scroll"></table>
    <div id="pagination" class="scroll"></div>



<script type="text/javascript">
    messageGrid();
    $('#add').button({
        icons: {primary: 'ui-icon-plus'}
    });


</script>


<?php get_backend_footer();

/* End of file list.php */
/* Location: ./application/views/cms/list.php */

